<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../print.css" type="text/css" media="print">
<meta content="SliderEvent,mx.events.SliderEvent,CHANGE,THUMB_DRAG,THUMB_PRESS,THUMB_RELEASE,clickTarget,keyCode,thumbIndex,triggerEvent,value" name="keywords">
<title>mx.events.SliderEvent</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'SliderEvent - Zentrum virtUOS: virtPresenter';
				var baseRef = '../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">virtPresenter AsDoc</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../all-classes.html')" href="../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../all-classes.html')" href="../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../index-list.html')" href="../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../index.html?mx/events/SliderEvent.html&amp;mx/events/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;SliderEvent</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#constantSummary">Constants</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class SliderEvent"); titleBar_setSubNav(true,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">mx.events</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class SliderEvent</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">SliderEvent <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../images/inherit-arrow.gif"> flash.events.Event</td>
</tr>
</table>
<p></p>
  The SliderEvent class represents the event object passed to 
  the event listener for the <code>change</code>, <code>thumbDrag</code>, 
  <code>thumbPress</code>, and <code>thumbRelease</code> events 
  of the HSlider and VSlider classes.
   <p></p>
<p>
<span class="classHeaderTableLabel">See also</span>
</p>
<div class="seeAlso">mx.controls.HSlider<br>
<a href="../controls/VSlider.html" target="">mx.controls.VSlider</a>
<br>
<a href="../controls/sliderClasses/Slider.html" target="">mx.controls.sliderClasses.Slider</a>
<br>
<a href="../events/SliderEventClickTarget.html" target="">mx.events.SliderEventClickTarget</a>
</div>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#clickTarget">clickTarget</a> : String<div class="summaryTableDescription">
      Specifies whether the slider track or a slider thumb was pressed.</div>
</td><td class="summaryTableOwnerCol">SliderEvent</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#keyCode">keyCode</a> : int<div class="summaryTableDescription">
      If the event was triggered by a key press, the keycode for the key.</div>
</td><td class="summaryTableOwnerCol">SliderEvent</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#thumbIndex">thumbIndex</a> : int<div class="summaryTableDescription">
      The zero-based index of the thumb whose position has changed.</div>
</td><td class="summaryTableOwnerCol">SliderEvent</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#triggerEvent">triggerEvent</a> : Event<div class="summaryTableDescription">
      Indicates the type of input action.</div>
</td><td class="summaryTableOwnerCol">SliderEvent</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#value">value</a> : Number<div class="summaryTableDescription">
      The new value of the slider.</div>
</td><td class="summaryTableOwnerCol">SliderEvent</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#SliderEvent()">SliderEvent</a>(type:String, bubbles:Boolean = false, cancelable:Boolean = false, thumbIndex:int = -1, value:Number, triggerEvent:Event = null, clickTarget:String = null, keyCode:int = -1)</div>
<div class="summaryTableDescription">
      Constructor.</div>
</td><td class="summaryTableOwnerCol">SliderEvent</td>
</tr>
</table>
</div>
<a name="constantSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Constants</div>
<table id="summaryTableConstant" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#CHANGE">CHANGE</a> : String = "change"<div class="summaryTableDescription">[static]
      The <code>SliderEvent.CHANGE</code> constant defines the value of the 
      <code>type</code> property of the event object for a <code>change</code> event.</div>
</td><td class="summaryTableOwnerCol">SliderEvent</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#THUMB_DRAG">THUMB_DRAG</a> : String = "thumbDrag"<div class="summaryTableDescription">[static]
      The <code>SliderEvent.THUMB_DRAG</code> constant defines the value of the 
      <code>type</code> property of the event object for a <code>thumbDrag</code> event.</div>
</td><td class="summaryTableOwnerCol">SliderEvent</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#THUMB_PRESS">THUMB_PRESS</a> : String = "thumbPress"<div class="summaryTableDescription">[static]
      The <code>SliderEvent.THUMB_PRESS</code> constant defines the value of the 
      <code>type</code> property of the event object for a <code>thumbPress</code> event.</div>
</td><td class="summaryTableOwnerCol">SliderEvent</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#THUMB_RELEASE">THUMB_RELEASE</a> : String = "thumbRelease"<div class="summaryTableDescription">[static]
      The <code>SliderEvent.THUMB_RELEASE</code> constant defines the value of the 
      <code>type</code> property of the event object for a <code>thumbRelease</code> event.</div>
</td><td class="summaryTableOwnerCol">SliderEvent</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="clickTarget"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">clickTarget</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>public var clickTarget:String</code><p>
      Specifies whether the slider track or a slider thumb was pressed. 
      This property can have one of two values: 
      <code>SliderEventClickTarget.THUMB</code> 
      or <code>SliderEventClickTarget.TRACK</code>.
           </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../events/SliderEventClickTarget.html" target="">mx.events.SliderEventClickTarget</a>
</div>
</div>
<a name="keyCode"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">keyCode</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var keyCode:int</code><p>
      If the event was triggered by a key press, the keycode for the key.
     </p></div>
<a name="thumbIndex"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">thumbIndex</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var thumbIndex:int</code><p>
      The zero-based index of the thumb whose position has changed.
      If there is only a single thumb, the value is 0.
      If there are two thumbs, the value is 0 or 1.
     </p></div>
<a name="triggerEvent"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">triggerEvent</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var triggerEvent:Event</code><p>
      Indicates the type of input action. 
      The value is either <code>InteractionInputType.MOUSE</code> 
      or <code>InteractionInputType.KEYBOARD</code>.
     </p></div>
<a name="value"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">value</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var value:Number</code><p>
      The new value of the slider.  
     </p></div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="SliderEvent()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">SliderEvent</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function SliderEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, thumbIndex:int = -1, value:Number, triggerEvent:Event = null, clickTarget:String = null, keyCode:int = -1)</code><p>
      Constructor.
           </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">type</span>:String</code> &mdash; The event type; indicates the action that caused the event.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">bubbles</span>:Boolean</code> (default = <code>false</code>)<code></code> &mdash; Specifies whether the event can bubble
      up the display list hierarchy.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">cancelable</span>:Boolean</code> (default = <code>false</code>)<code></code> &mdash; Specifies whether the behavior
      associated with the event can be prevented.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">thumbIndex</span>:int</code> (default = <code>-1</code>)<code></code> &mdash; The zero-based index of the thumb
      whose position has changed.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:Number</code> &mdash; The type of input action. 
      The value is either <code>InteractionInputType.MOUSE</code> 
      or <code>InteractionInputType.KEYBOARD</code>.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">triggerEvent</span>:Event</code> (default = <code>null</code>)<code></code> &mdash; Whether the slider track or a slider thumb was pressed.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">clickTarget</span>:String</code> (default = <code>null</code>)<code></code> &mdash; If the event was triggered by a key press, 
      the keycode for the key.
     </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">keyCode</span>:int</code> (default = <code>-1</code>)<code></code></td>
</tr>
</table>
</div>
<a name="constantDetail"></a>
<div class="detailSectionHeader">Constant detail</div>
<a name="CHANGE"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">CHANGE</td><td class="detailHeaderType">constant</td>
</tr>
</table>
<div class="detailBody">
<code>public static const CHANGE:String = "change"</code><p>
      The <code>SliderEvent.CHANGE</code> constant defines the value of the 
      <code>type</code> property of the event object for a <code>change</code> event. 
           </p><p>The properties of the event object have the following values:</p>
      <table class="innertable">
         <tr><th>Property</th><th>Value</th></tr>
         <tr><td><code>bubbles</code></td><td>false</td></tr>
         <tr><td><code>cancelable</code></td><td>false</td></tr>
         <tr><td><code>clickTarget</code></td><td>Specifies whether the slider 
           track or a slider thumb was pressed.</td></tr>
         <tr><td><code>currentTarget</code></td><td>The Object that defines the 
           event listener that handles the event. For example, if you use 
           <code>myButton.addEventListener()</code> to register an event listener, 
           myButton is the value of the <code>currentTarget</code>. </td></tr>
         <tr><td><code>keyCode</code></td><td>If the event was triggered by a key press, 
           the keycode for the key.</td></tr>
         <tr><td><code>target</code></td><td>The Object that dispatched the event; 
           it is not always the Object listening for the event. 
           Use the <code>currentTarget</code> property to always access the 
           Object listening for the event.</td></tr>
         <tr><td><code>thumbIndex</code></td><td>The zero-based index of the thumb
           whose position has changed.</td></tr>
         <tr><td><code>triggerEvent</code></td><td>Contains a value indicating the 
           type of input action. The value is either <code>InteractionInputType.MOUSE</code> 
           or <code>InteractionInputType.KEYBOARD</code>.</td></tr>
         <tr><td><code>value</code></td><td>The new value of the slider.</td></tr>
      </table>
           </div>
<a name="THUMB_DRAG"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">THUMB_DRAG</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const THUMB_DRAG:String = "thumbDrag"</code><p>
      The <code>SliderEvent.THUMB_DRAG</code> constant defines the value of the 
      <code>type</code> property of the event object for a <code>thumbDrag</code> event. 
           </p><p>The properties of the event object have the following values:</p>
      <table class="innertable">
         <tr><th>Property</th><th>Value</th></tr>
         <tr><td><code>bubbles</code></td><td>false</td></tr>
         <tr><td><code>cancelable</code></td><td>false</td></tr>
         <tr><td><code>clickTarget</code></td><td>Specifies whether the slider 
           track or a slider thumb was pressed.</td></tr>
         <tr><td><code>currentTarget</code></td><td>The Object that defines the 
           event listener that handles the event. For example, if you use 
           <code>myButton.addEventListener()</code> to register an event listener, 
           myButton is the value of the <code>currentTarget</code>. </td></tr>
         <tr><td><code>keyCode</code></td><td>If the event was triggered by a key press, 
           the keycode for the key.</td></tr>
         <tr><td><code>target</code></td><td>The Object that dispatched the event; 
           it is not always the Object listening for the event. 
           Use the <code>currentTarget</code> property to always access the 
           Object listening for the event.</td></tr>
         <tr><td><code>thumbIndex</code></td><td>The zero-based index of the thumb
           whose position has changed.</td></tr>
         <tr><td><code>triggerEvent</code></td><td>Contains a value indicating the 
           type of input action. The value is either <code>InteractionInputType.MOUSE</code> 
           or <code>InteractionInputType.KEYBOARD</code>.</td></tr>
         <tr><td><code>value</code></td><td>The new value of the slider.</td></tr>
      </table>
           </div>
<a name="THUMB_PRESS"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">THUMB_PRESS</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const THUMB_PRESS:String = "thumbPress"</code><p>
      The <code>SliderEvent.THUMB_PRESS</code> constant defines the value of the 
      <code>type</code> property of the event object for a <code>thumbPress</code> event. 
           </p><p>The properties of the event object have the following values:</p>
      <table class="innertable">
         <tr><th>Property</th><th>Value</th></tr>
         <tr><td><code>bubbles</code></td><td>false</td></tr>
         <tr><td><code>cancelable</code></td><td>false</td></tr>
         <tr><td><code>clickTarget</code></td><td>Specifies whether the slider 
           track or a slider thumb was pressed.</td></tr>
         <tr><td><code>currentTarget</code></td><td>The Object that defines the 
           event listener that handles the event. For example, if you use 
           <code>myButton.addEventListener()</code> to register an event listener, 
           myButton is the value of the <code>currentTarget</code>. </td></tr>
         <tr><td><code>keyCode</code></td><td>If the event was triggered by a key press, 
           the keycode for the key.</td></tr>
         <tr><td><code>target</code></td><td>The Object that dispatched the event; 
           it is not always the Object listening for the event. 
           Use the <code>currentTarget</code> property to always access the 
           Object listening for the event.</td></tr>
         <tr><td><code>thumbIndex</code></td><td>The zero-based index of the thumb
           whose position has changed.</td></tr>
         <tr><td><code>triggerEvent</code></td><td>Contains a value indicating the 
           type of input action. The value is either <code>InteractionInputType.MOUSE</code> 
           or <code>InteractionInputType.KEYBOARD</code>.</td></tr>
         <tr><td><code>value</code></td><td>The new value of the slider.</td></tr>
      </table>
           </div>
<a name="THUMB_RELEASE"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">THUMB_RELEASE</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const THUMB_RELEASE:String = "thumbRelease"</code><p>
      The <code>SliderEvent.THUMB_RELEASE</code> constant defines the value of the 
      <code>type</code> property of the event object for a <code>thumbRelease</code> event. 
           </p><p>The properties of the event object have the following values:</p>
      <table class="innertable">
         <tr><th>Property</th><th>Value</th></tr>
         <tr><td><code>bubbles</code></td><td>false</td></tr>
         <tr><td><code>cancelable</code></td><td>false</td></tr>
         <tr><td><code>clickTarget</code></td><td>Specifies whether the slider 
           track or a slider thumb was pressed.</td></tr>
         <tr><td><code>currentTarget</code></td><td>The Object that defines the 
           event listener that handles the event. For example, if you use 
           <code>myButton.addEventListener()</code> to register an event listener, 
           myButton is the value of the <code>currentTarget</code>. </td></tr>
         <tr><td><code>keyCode</code></td><td>If the event was triggered by a key press, 
           the keycode for the key.</td></tr>
         <tr><td><code>target</code></td><td>The Object that dispatched the event; 
           it is not always the Object listening for the event. 
           Use the <code>currentTarget</code> property to always access the 
           Object listening for the event.</td></tr>
         <tr><td><code>thumbIndex</code></td><td>The zero-based index of the thumb
           whose position has changed.</td></tr>
         <tr><td><code>triggerEvent</code></td><td>Contains a value indicating the 
           type of input action. The value is either <code>InteractionInputType.MOUSE</code> 
           or <code>InteractionInputType.KEYBOARD</code>.</td></tr>
         <tr><td><code>value</code></td><td>The new value of the slider.</td></tr>
      </table>
           </div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
